package io.gbznt.modules.buss.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.gbznt.common.utils.PageUtils;
import io.gbznt.modules.buss.entity.BussRtuSendRecordEntity;
import io.gbznt.modules.buss.entity.BussRtuWarningRecordEntity;

import java.util.List;
import java.util.Map;

/**
 * RTU告警记录
 *
 * @author gbznt
 * @email http://www.gbznt.com/
 * @date 2019-04-20 15:48:34
 */
public interface BussRtuWarningRecordService extends IService<BussRtuWarningRecordEntity> {

	PageUtils queryPage(Map<String, Object> params);

	/**
	 * 获取时间最晚的告警记录
	 * 
	 * @param params
	 * @return
	 */
	List<BussRtuWarningRecordEntity> getGjjlMax(Map<String, Object> params);
}
